Function |status
http/status::|status
Usage
|status(code)
Parameters
↳ code: u16
Return
↴ Option<HttpStatus>
Parse an HTTP status from its numeric code.
Returns None if code does not correspond to a recognised HTTP status.
Press ← or → to navigate between chapters
Press S or / to search in the book
Press ? to show this help
Press Esc to hide this help
http/status::|status
|status(code)
↳ code: u16
↴ Option<HttpStatus>
Parse an HTTP status from its numeric code.
Returns None if code does not correspond to a recognised HTTP status.